package sw6.visualschedule.activitylist;

import java.util.EventListener;

/**
 *	EventListener added to the DraggableImage-image by VisualSchedule.java
 *	DraggableImage-image is the View that is dragged underneath the user's
 *	finger, when dragging activities from the left to the right column.
 */
public interface StartActivityListener extends EventListener {
	 
	/**
	 * Called when finger first touches DraggableImage
	 */
	public void down();
	
	/**
	 * DraggableImage was placed over target, and now dragged away from
	 * it
	 */
	public void draggableImageAwayFromTarget();
	
	/**
	 * Finger is removed from screen (user releases DraggableImage),
	 * and DraggableImage is placed on top of the target view, i.e.
	 * DraggableImage is dropped on target. 
	 */
	public void draggableImageDroppedOnTarget();
	
	/**
	 * DraggableImage is placed over target view (user is still
	 * touching the screen
	 */
	public void draggableImageOverTarget();
	
	/**
	 * Finger removed from screen (user releases DraggableImage),
	 * without DraggableImage being placed over the target view
	 */
	public void up();
}
 